chemical effects of electric current electrolysis